/**
 * Created by cherrybomb on 2017/11/16.
 */
import React from 'react';
//library
// import Phone_Demo from './library/phone/Root';
// import Phone_Demo from './library/phone/Phone_Demo';
import ActionSheet_Demo from './library/actionsheet/ActionSheet_Demo';
import Badge_Demo from './library/badge/Badge_Demo';
import Baseline_Demo from './library/baseline/Baseline_Demo';
import BottomButton_Demo from "./library/bottombuttom/BottomButton_Demo";
import Button_Demo from './library/button/Button_Demo';
import Card_Demo from './library/card/Card_Demo';
import CardItem_Demo from './library/cardItem/CardItem_Demo';
import Cell_Demo from './library/cell/Cell_Demo';
import CheckBox_Demo from './library/checkbox/CheckBox_Demo';
import Collapse_Demo from './library/collapse/Collapse_Demo';
import ComboBox_Demo from './library/combobox/ComboBox_Demo';
import CheckMore_Demo from './library/checkmore/CheckMore_Demo';
import Currency_Demo from './library/currency/Currency_Demo';
import DatePicker_Demo from './library/datepicker/DatePicker_Demo';
import Dialog_Demo from './library/dialog/Dialog_Demo';
import DropDownMenu_Demo from './library/dropdownmenu/DropDownMenu_Demo';
import ImageViewer_Demo from './library/image/ImageViewer_Demo';
import Label_Demo from './library/label/Label_Demo';
import Layer_Demo from './library/layer/Layer_Demo';
import CascadeDatePicker_Demo from './library/CascadeDatePicker/CascadeDatePicker_Demo';
import List_Demo from './library/list/List_Demo';
import Marquee_Demo from './library/marquee/Marquee_Demo';
import Menu_Demo from './library/menu/Menu_Demo';
import Message_Demo from './library/message/Message_Demo'
import MessageBox_Demo from './library/messagebox/MessageBox_Demo';
import NavBar_Demo from './library/navbar/NavBar_Demo';
import Number_Demo from './library/number/Number_Demo';
import NumberBox_Demo from './library/numberbox/NumberBox_Demo';
import Pagination_Demo from './library/pagination/Pagination_Demo';
import Password_Demo from './library/password/Password_Demo';
import Picker_Demo from './library/picker/Picker_Demo';
import Pieces_Demo from './library/pieces/Pieces_Demo';
import Progress_Demo from './library/progress/Progress_Demo'
import Popover_Demo from './library/popover/Popover_Demo';
// import ProductList_Demo from './library/ProductList/ProductList_Demo';
import Radio_Demo from './library/radio/Radio_Demo';
import Raty_Demo from './library/raty/Raty_Demo';
import Row_Demo from './library/row/Row_Demo';
import SearchBar_Demo from './library/searchbar/SearchBar_Demo';
import Selection_Demo from './library/selection/Selection_Demo';
import Simplecode_Demo from './library/simplecode/Simplecode_Demo';
import Slider_Demo from './library/slider/Slider_Demo';
import Sudoku_Demo from './library/sudoku/Sudoku_Demo';
import Switch_Demo from './library/switch/Switch_Demo';
import Spin_Demo from './library/spin/Spin_Demo';
import Tabs_Demo from './library/tabs/Tabs_Demo';
import Tag_Demo from './library/tag/Tag_Demo';
import TextArea_Demo from './library/textarea/TextArea_Demo';
import TextField_Demo from './library/textfield/TextField_Demo';
import Toast_Demo from './library/toast/Toast_Demo';
import Validator_Demo from './library/validator/Validator_Demo';
import VerifyCode_Demo from './library/verifycode/VerifyCode_Demo';
import ViewShot_Demo from './library/viewshot/ViewShot_Demo';
import Indexlist_Demo from './library/indexlist/Indexlist_Demo';
import Table_Demo from './library/table/Table_Demo';
import Pullrefresh_Demo from './library/pullrefresh/Pullrefresh_Demo';
import StickToTop_Demo from './library/sticktotop/StickToTop_Demo';
import Counter_Demo from './library/counter/Counter_Demo';
import Range_Demo from './library/range/Range_Demo'
import Calendar_Demo from './library/calendar/Calendar_Demo';
import DetailsList_Demo from './library/detailslist/DetailsList_Demo';
import LicencePlate_Demo from './library/licencePlate/LicencePlate_Demo';
import HeaderDemo from './library/header/Header_Demo';
import PieChart_Demo from './library/pieChart/PieChart_Demo';
import { storiesOf } from '@storybook/react-native';
import KeyBoard_demo from './library/keyboard/KeyBoard_demo';
import Information_Demo from './library/information/Information_demo';
import ContainerFixed_Demo from './library/containerFixed/ContainerFixed_Demo';
import ContainerFlex_Demo from './library/containerFlex/ContainerFlex_Demo';
import ImageChoose_Demo from './library/imageChoose/ImageChoose_Demo';
import PdfView_Demo from './library/pdfView/PdfView_Demo';
import LineChart_Demo from './library/lineChart/LineChart_Demo';
import DropMenu_Demo from './library/dropmenu/DropMenu_Demo';
import AddLicencePlate_Demo from './library/addLicencePlate/AddLicencePlate_Demo';
import CascadePicker_Demo from './library/cascadePicker/CascadePicker_Demo';
import Step_Demo from './library/step/Step_Demo';
import SelectField_Demo from './library/selectfield/SelectField_Demo';
import Stack from './other/pageDemo/page/ReactNavigation/Stack/Pages';
// import WebView_Demo from './library/webView/WebView_Demo.js';
import Drawer_Demo from './library/drawer/Drawer_Demo.js';
import AssetDisplay_Demo from './library/assetDisplay/AssetDisplay_Demo';
import Profile_Demo from './library/profile/Profile_Demo';
import ResultList_Demo from './library/resultList/ResultList_Demo';
import AreaChart_Demo from './library/areaChart/AreaChart_Demo';
import MultiList_Demo from './library/multiList/MultiList_Demo';
import NewsList_Demo from './library/newsList/NewsList_Demo';
import SliderButton_Demo from './library/sliderButton/SliderButton_Demo';
import InputSelect_Demo from './library/inputSelect/InputSelect_Demo';
import TopPanel_Demo from './library/topPanel/TopPanel_Demo';
import DetailListByDate_Demo from './library/detailListByDate/DetailListByDate_Demo'
import ImageCropPicker_Demo from './library/imageCropPicker/ImageCropPicker_Demo';
import LinkTabs_Demo from './library/linktabs/LinkTabs_Demo';
import Hint_Demo from './library/hint/Hint_Demo';
import ScaleSlider_Demo from './library/ScaleSlider/ScaleSlider_Demo';
import StickList_Demo from './library/stickList/StickList_Demo';
import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
import EditiTableDemo from './examples/src/library/editTable/editiTableDemo';

import BlockSelect_Demo from './library/blockselect/BlockSelect_Demo';
//import InformationContainer_Demo from './library/informationcontainer/InformationContainer_Demo'
//import PickerTitle_Demo from './library/pickerTitle/PickerTitle_Demo';
//import DoubleLabel_Demo from './components/doubleLabel/DoubleLabel_Demo'
//import Guidebar_Demo from './components/guidebar/Guidebar_Demo'
import BackToTop_Demo from './library/backToTop/BackToTop_Demo'
//import Drawer_Demo from './components/drawer/Drawer_Demo'
//import TabBar_Demo from './components/tabbar/TabBar_Demo'
//import Spin_Demo from './components/spin/Spin_Demo'
//import LeftContainer_Demo from './components/leftContainer/LeftContainer_Demo'
//import ImagePicker_Demo from './components/imagePicker/ImagePicker_Demo'
//import BarChart_Demo from './components/barChart/BarChart_Demo'
//import KChart_Demo from './components/kChart/KChart_Demo'
//import CountDown_Demo from './components/countDown/CountDown_Demo';
//import SwipeAction_Demo from './components/swipeAction/SwipeAction_Demo';
//import LineChart_Demo from './components/lineChart/LineChart_Demo';
//import ButtonGroup_Demo from './components/buttonGroup/ButtonGroup_Demo'
//import ConfirmInput_Demo from './components/confirmInput/ConfirmInput_Demo';


// import NavigatorHomePage from '../../redPacket/navigator/NavigatorHomePage'
// import SendRedPacket from '../../redPacket/sendRedPacket/SendRedPacket'
// import RedPacket from '../../redPacket'
// import Router_Demo from './api/router/Router_Demo


storiesOf('Components', module)
    .add('ScaleSlider', () => <ScaleSlider_Demo />)
    // .add('Phone',()=><Phone_Demo/>)
    .add('ActionSheet', () => <ActionSheet_Demo />)
    .add('AddLicencePlate', () => <AddLicencePlate_Demo />)
    .add('Badge', () => <Badge_Demo />)
    .add('Baseline', () => <Baseline_Demo />)
    .add('BlockSelect', () => <BlockSelect_Demo />)
    .add('BottomButton', () => <BottomButton_Demo />)
    .add('Button', () => <Button_Demo />)
    .add('Calendar', () => <Calendar_Demo />)
    .add('Card', () => <Card_Demo />)
    .add('CardItem', () => <CardItem_Demo />)
    .add('CascadePicker', () => <CascadePicker_Demo />)
    .add('Cell', () => <Cell_Demo />)
    .add('CheckBox', () => <CheckBox_Demo />)
    .add('CheckMore', () => <CheckMore_Demo />)
    .add('Collapse', () => <Collapse_Demo />)
    .add('ComboBox', () => <ComboBox_Demo />)
    .add('ContainerFixed', () => <ContainerFixed_Demo />)
    .add('ContainerFlex', () => <ContainerFlex_Demo />)
    .add('Counter', () => <Counter_Demo />)
    .add('Currency', () => <Currency_Demo />)
    .add('DatePicker', () => <DatePicker_Demo />)
    .add('DetailsList', () => <DetailsList_Demo />)
    .add('Dialog', () => <Dialog_Demo />)
    .add('Drawer', () => <Drawer_Demo />)
    .add('DropDownMenu', () => <DropDownMenu_Demo />)
    .add('DropMenu', () => <DropMenu_Demo />)
    .add('ImageViewer', () => <ImageViewer_Demo />)
    .add('Indexlist', () => <Indexlist_Demo />)
    .add('Information', () => <Information_Demo />)
    //.add('InformationContainer', ()=><InformationContainer_Demo/>)
    .add('KeyBoard', () => <KeyBoard_demo />)
    .add('Label', () => <Label_Demo />)
    .add('Layer', () => <Layer_Demo />)
    .add('LicencePlate', () => <LicencePlate_Demo />)
    .add('LineChart', () => <LineChart_Demo />)
    .add('List', () => <List_Demo />)
    .add('Marquee', () => <Marquee_Demo />)
    .add('Menu', () => <Menu_Demo />)
    .add('Message', () => <Message_Demo />)
    .add('MessageBox', () => <MessageBox_Demo />)
    .add('NavBar', () => <NavBar_Demo />)
    .add('Number', () => <Number_Demo />)
    .add('NumberBox', () => <NumberBox_Demo />)
    .add('Pagination', () => <Pagination_Demo />)
    .add('Password', () => <Password_Demo />)
    .add('PdfView', () => <PdfView_Demo />)
    .add('Picker', () => <Picker_Demo />)
    .add('Pieces',()=><Pieces_Demo/>)
    .add('PieChart', () => <PieChart_Demo />)
    .add('Popover', () => <Popover_Demo />)
    .add('Progress', () => <Progress_Demo />)
    // .add('ProductList', () => <ProductList_Demo />)
    .add('Pullrefresh', () => <Pullrefresh_Demo />)
    //.add('PickerTitle', () => <PickerTitle_Demo/>)
    .add('Radio', () => <Radio_Demo />)
    .add('Range', () => <Range_Demo />)
    .add('Raty', () => <Raty_Demo />)
    .add('Row', () => <Row_Demo />)
    .add('SearchBar', () => <SearchBar_Demo />)
    .add('SelectField', () => <SelectField_Demo />)
    .add('Selection', () => <Selection_Demo />)
    .add('Simplecode', () => <Simplecode_Demo />)
    .add('Slider', () => <Slider_Demo />)
    .add('Spin', () => <Spin_Demo />)
    .add('Stack', () => <Stack />)
    .add('Step', () => <Step_Demo />)
    .add('StickToTop', () => <StickToTop_Demo />)
    .add('Sudoku', () => <Sudoku_Demo />)
    .add('Switch', () => <Switch_Demo />)
    .add('Table', () => <Table_Demo />)
    .add('Tabs', () => <Tabs_Demo />)
    .add('Tag', () => <Tag_Demo />)
    .add('TextArea', () => <TextArea_Demo />)
    .add('TextField', () => <TextField_Demo />)
    .add('Toast', () => <Toast_Demo />)
    .add('Validator', () => <Validator_Demo />)
    .add('VerifyCode', () => <VerifyCode_Demo />)
    .add('ViewShot', () => <ViewShot_Demo />)
    // .add('WebView',()=><WebView_Demo/>)
    .add('AssetDisplay', () => <AssetDisplay_Demo />)
    .add('ResultList', () => <ResultList_Demo />)
    .add('AreaChart', () => <AreaChart_Demo />)
    .add('MultiList', () => <MultiList_Demo />)
    .add('Profile', () => <Profile_Demo />)
    .add('NewsList', () => <NewsList_Demo />)
    .add('BackToTop', () => <BackToTop_Demo />)
    .add('SliderButton', () => <SliderButton_Demo />)
    .add('InputSelect', () => <InputSelect_Demo />)
    .add('TopPanel', () => <TopPanel_Demo />)
    .add('DetailListByDate', () => <DetailListByDate_Demo />)
    .add('LinkTabs', () => <LinkTabs_Demo />)
    .add('Hint', () => <Hint_Demo />)
    .add('CascadeDatePicker', () => <CascadeDatePicker_Demo />)
    .add('StickList', () => <StickList_Demo />)
    .add('Header', () => <HeaderDemo />)

//    .add('BarChart', () => <BarChart_Demo/>)
//    .add('ButtonGroup', ()=><ButtonGroup_Demo/>)
//    .add('CountDown', ()=><CountDown_Demo/>)
//    .add('DoubleLabel',()=><DoubleLabel_Demo/>)
//    .add('Drawer', () => <Drawer_Demo/>)
//    .add('Guidebar', () => <Guidebar_Demo/>)
//    .add('ImagePicker',()=> <ImagePicker_Demo/>)
//    .add('KChart',()=> <KChart_Demo/>)
//   .add('LeftContainer', () => <LeftContainer_Demo/>)
//    .add('LineChart', () => <LineChart_Demo/>)
//    .add('Spin', () => <Spin_Demo/>)
//    .add('SwipeAction', ()=><SwipeAction_Demo/>)
//    .add('Tabbar', () => <TabBar_Demo/>)
//    .add('ConfirmInput', ()=><ConfirmInput_Demo/>)

// storiesOf('抢红包', module).add('抢红包', ()=><RedPacket/>)
// storiesOf('api', module).add('Marquee', ()=><Router_Demo/>)
// storiesOf('发红包', module).add('发红包', ()=><SendRedPacket/>)
//                           .add('查看我的红包页面', ()=><SendRedPacketResult/>)
//                           .add('游戏规则页', ()=><Rule/>)
// storiesOf('导航栏', module).add('导航栏配置跳转TODO', ()=><NavigatorHomePage/>)
